package com.probox.common.entity.service.platfom;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.probox.common.entity.domain.platfom.PlatformStoreTarget;
import com.probox.common.entity.vo.centre.order.HomeQueryVo;
import com.probox.common.entity.vo.centre.order.OrderQueryVo;


/**
 * 门店目标业绩管理Service接口
 *
 * @author usoft
 * @date 2022-09-24
 */
public interface IPlatformStoreTargetService extends IService<PlatformStoreTarget> {

    public PlatformStoreTarget selectTargetByTime(Long storeId);


    /**
     * 查询门店目标业绩管理
     *
     * @param targetId 门店目标业绩管理ID
     * @return 门店目标业绩管理
     */
    public PlatformStoreTarget selectPlatformStoreTargetById(Long targetId);


    /**
     * 查询门店目标业绩管理列表
     *
     * @param platformStoreTarget 门店目标业绩管理
     * @return 门店目标业绩管理集合
     */
    public List<PlatformStoreTarget> queryList(PlatformStoreTarget platformStoreTarget);

    public PlatformStoreTarget sumQueryList(OrderQueryVo queryVo);

    /**
     * 新增门店目标业绩管理
     *
     * @param platformStoreTarget 门店目标业绩管理
     * @return 结果
     */
    public boolean insertPlatformStoreTarget(PlatformStoreTarget platformStoreTarget);

    /**
     * 修改门店目标业绩管理
     *
     * @param platformStoreTarget 门店目标业绩管理
     * @return 结果
     */
    public boolean updatePlatformStoreTarget(PlatformStoreTarget platformStoreTarget);

    /**
     * 批量删除门店目标业绩管理
     *
     * @param targetIds 需要删除的门店目标业绩管理ID
     * @return 结果
     */
    public boolean deletePlatformStoreTargetByIds(Long[] targetIds);


    List<PlatformStoreTarget> getList(PlatformStoreTarget platformStoreTarget, Integer pageNum, Integer pageSize);
}
